#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QWidget>
#include <QComboBox>
#include <QPushButton>
#include <QTableView>
#include <QGridLayout>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QFileDialog>
#include <QTextEdit>
#include <QTextStream>
#include <QStandardItemModel>
#include <QStandardItem>

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    QComboBox spis;
    QPushButton but1;
    QTableView text;
    QPushButton save, close;
    QWidget wid;
    QGridLayout lay;
private:
    QString Dr;
public slots:
    void openfile();
    void write();
    void saving();
};

#endif // MAINWINDOW_H
